<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/res/friends/css/style-friend.css"  type="text/css"/>
<link rel="stylesheet" href="<?=$_SERVER['config']['style']?>/res/cartoon/css/cartoon.css"  type="text/css"/>
<div class="h_left">
<div class="h_menu_b">
	<ul>
        <li <?=($this->controller=='index' and $this->action=='mylist') ? 'class="selected"' : ''?> >
            <a href="<?=self::_makeURL('booklist', 'index', 'mylist')?>"><span>我的漫画</span></a>
        </li>
        <li <?=($this->controller=='index' and $this->action=='frilist') ? 'class="selected"' : ''?> >
            <a href="<?=self::_makeURL('booklist', 'index', 'frilist')?>"><span>好友的漫画</span></a>
        </li>
    </ul>
    <?if($this->action == 'chapter_list'):?>
    <div class="part-title-right"><span class="invitefriend-icon"></span><a href="<?= self::_makeURL('cartoon', 'index', 'add_form')?>">添加章节</a></div>
    <?else:?>
    <div class="part-title-right"><span class="invitefriend-icon"></span><a href="<?= self::_makeURL('cartoon', 'index', 'add_form')?>">添加漫画</a></div>
    <?endif;?>
</div><!--part-title-class -->
<?php include($this->view);?>
</div>
<?if($this->right_view):?>
   <? include_once(APP_PATH.'/cartoon/views/'.$this->right_view) ;?>
<?//else:?>
	<? //include_once(APP_PATH.'/index/views/login_right.phtml');?>
<?endif;?>